<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Y9000P
  Date: 2024.05.28
  Time: 20:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>我的邮箱</title>
</head>
<body>
<%-- 通过jsp内置对象cookie获取共享数据--%>
<h3 style="color: green">欢迎你,${cookie.username.value}</h3>
<c:forEach var="email" items="${emails}">
    <a href="/message">${email}</a><br>

</c:forEach>
</body>
</html>
